/**
 * Copyright (c) 2018 小润科技 All rights reserved.

 * 版权所有，侵权必究！
 */

package com.xr.sy.modules.demo.controller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("demo/test")
@Api(tags="新闻管理")
public class TestController {
    public static void main(String[] args){
        ThreadDemo atomicDemo = new ThreadDemo();
        for (int x = 0;x < 10; x++){
            new Thread(atomicDemo).start();
        }
    }




}